﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ZTEDataViewbySN.aspx.cs" Inherits="ViewbyProduct_ViewUploadZTEData_ZTEDataViewbySN" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
        <br />
        <asp:Panel ID="Panel1" runat="server" Height="27px" HorizontalAlign="Center">
            请输入序列号：
            <asp:TextBox ID="TextBox3" runat="server" Width="225px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox3"
                ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查 询" ValidationGroup="VGroup1"
                Width="54px" />
        </asp:Panel>
        <br />
        <asp:Label ID="Label3" runat="server" Text="查询结果：" Width="162px"></asp:Label>
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
                <asp:GridView ID="GridView1" runat="server" CellPadding="3" DataKeyNames="resultid"
                    GridLines="None" AutoGenerateColumns="False" BackColor="White" BorderColor="White"
                    BorderStyle="Ridge" BorderWidth="2px" CellSpacing="1" EmptyDataText="没有相关数据"
                    AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" Width="100%"
                    PageSize="20">
                    <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                    <Columns>
                        <asp:HyperLinkField DataNavigateUrlFields="resultid" DataNavigateUrlFormatString="~/ViewbyProduct/ViewUploadZTEData/ZTEDataDetailView.aspx?resultid={0}"
                            HeaderText="查看" NavigateUrl="~/ViewbyProduct/ViewUploadZTEData/ZTEDataDetailView.aspx"
                            Text="详细" />
                        <asp:HyperLinkField DataNavigateUrlFields="partcode" DataNavigateUrlFormatString="~/ViewbyProduct/ViewProductState/ProductSNLifeTime.aspx?ProductSN={0}"
                            DataTextField="partcode" HeaderText="条码" NavigateUrl="~/ViewbyProduct/ViewProductState/ProductSNLifeTime.aspx"
                            Text="partcode" />
                        <asp:BoundField DataField="testtime" HeaderText="测试时间" />
                        <asp:BoundField DataField="testperiod" HeaderText="测试时长" />
                        <asp:BoundField DataField="testequipid" HeaderText="测试设备" />
                        <asp:BoundField DataField="userid" HeaderText="测试人员" />
                        <asp:BoundField DataField="totalresultName" HeaderText="测试总结果" />
                        <asp:BoundField DataField="itemresult" HeaderText="测试各项结果" />
                        <asp:BoundField DataField="tfpid" HeaderText="测试工程号" />
                    </Columns>
                    <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                    <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                </asp:GridView>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

